My thoughts exactly. "A bug fix you say? I'll get to it first thing in the morning."
Yup. Taking naps at your desk is also OK, as long as come in before the boss and leave after them.
Remember this is Japan, changing jobs is difficult! No one wants to hire a quitter, and if you were fired...