semaphore bug fix
Added AutoClosable and Actor to Engine, made Stage an interface