Advanced OS Project, Loads of thread-syncing using Java