Worked out main memory issues (will move display part to Display.ts; added CPU display div and related method