added resize-handler, made event-code not as wide
cleaned up

- removed unused imports
- removed unneccessary $
- removed unneccessary ()
- changed variables hiding functions
added performance-compile-options

- added various GHC-Option to perform a better compile
- Using LLVM to optimize further