added update() support every 1/60th of a second
added keyboard input support, fixed density settings
restart now works, moved some functions, made new signals