Fixed note selection, readded fog, added timer, cleaned up code