Cleanup

Cleanup Code, and implement variable window size based on monitor.