Fixed preliminary errors

Moved JFrame creation from constructor to create function