Main Loop - Debugging ver 1

Issue with single DAT instruction emerged.
Currently working on, to make sure everything is working OK