Reworked some parts of AtriumPlayer to be more easy to read and more accurate