fixed compile errors. delaytimer still needs testing. camera movement smooth bug fixed.