Fix #28 Instructions Window Bug

Cleaned up code, slight optimizations.