Any way to know what layer is currently being printed

I think you should directly add the pause commands into gcode.